package com.jawmask.android.discover.utils;

public final class AppConstants {

	private AppConstants() {

	}

	public static final int DIALOG_ID_PROGRESS_BAR = 0x001;
	public static final int DIALOG_ID_NETWORK_NOT_AVAILABLE = 0x002;
	public static final int DIALOG_ID_UNKNOWN_ERROR = 0x003;
	public static final int DIALOG_ID_ERROR_NOTIFICATION = 0x004;

	public static final String ERROR_MSG_KEY_NAME = "error_msg";
	public static final String GOOGLE_MAP_DIRECTION_URL = "http://maps.google.com/?saddr=%s,%s&daddr=%s,%s";

	public enum HTTP_URL {
		GOOGLE_SEARCH_PLACE_API_URL("https://maps.googleapis.com/maps/api/place/search/json?"), 
		GOOGLE_SEARCH_PLACE_DETAIL_API_URL("https://maps.googleapis.com/maps/api/place/details/json?"),
		GOOGLE_GEOCODING_API_URL("http://maps.googleapis.com/maps/api/geocode/json?");

		public final String httpUrlValue;

		private HTTP_URL(final String httpUrlValue) {
			this.httpUrlValue = httpUrlValue;
		}
	}

	public enum GOOGLE_SEARCH_PLACE_STATUS {
		OK("OK"), ZERO_RESULTS("ZERO_RESULTS"), OVER_QUERY_LIMIT("OVER_QUERY_LIMIT"), REQUEST_DENIED("REQUEST_DENIED"), INVALID_REQUEST("INVALID_REQUEST");

		public final String status;

		private GOOGLE_SEARCH_PLACE_STATUS(final String status) {
			this.status = status;
		}
	}
}
